<div class='center_form'>
    <!--div class="center_form_title">Add a department</div-->
    <div class="center_form_right">
        <div class='center_form_btn_div' onclick="javascript:Common.gotoUrl('<?php echo HttpUtil::baseUrl();?>/trade/withdraw/overpassoffline/id/<?php echo $this->withdraw['id']; ?>');$(this).attr('onclick','');">
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/save.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("checkPast"); ?></div>
        </div>
        <div class='center_form_btn_div' onclick="javascript:Withdraw.showRejectDialog();">
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/delete.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("notSure"); ?></div>
        </div>               
        <div class='center_form_btn_div' onclick='javascript:Common.gotoUrl("<?php echo HttpUtil::baseUrl();?>/trade/withdraw/searchofflinewait");'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/cancel.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("returnBtn"); ?></div>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="centerbig_form">
      <div class="center_top"><span class="center_top_title"><?php echo $this->translate("waitCheckWithDrawOffL"); ?></span></div>
      <div class="right_form_content">

               <div class="form_content">
				        <table cellspacing="0" cellpadding="0" border="0" class="order_table">
				            <tr>
				                <td class="table_header"><?php echo $this->translate("SN"); ?></td>
				                <td><?php echo $this->withdraw['sn'];?></td>
				                <td class="table_header"><?php echo $this->translate("userId"); ?></td>
				                <td><?php echo $this->withdraw['uname'] ; ?></td>
				            </tr>
				            <tr>
				                <td class="table_header"><?php echo $this->translate("returnBank2"); ?></td>
				                <td><?php echo TradeConstant::getType($this->withdraw['withdraw_type']) ;?></td>
				                <td class="table_header"><?php echo $this->translate("returnBankName"); ?></td>
				                <td><?php echo $this->withdraw['in_bank_name'] ; ?></td>
				           </tr>
				            <tr>
				                <td class="table_header"><?php echo $this->translate("returnAccount2"); ?></td>
				                <td><?php echo $this->withdraw['in_id'] ; ?></td>
				                <td class="table_header"><?php echo $this->translate("returnAccountName2"); ?></td>
				                <td><?php echo $this->withdraw['in_name'];?></td>
				            </tr>
				            <tr>
				                <td class="table_header"><?php echo $this->translate("tradeSum"); ?></td>
				                <td><?php echo $this->withdraw['trade_sum'] ;?></td>
				                <td class="table_header"><?php echo $this->translate("withdrawApplyDate"); ?></td>
				                <td><?php echo $this->withdraw['created'];?></td>
				            </tr>
				            <tr>
				                <td class="table_header"><?php echo $this->translate("agentBalanceNow"); ?></td>
				                <td><?php echo $this->agentTotal['balance'] ;?></td>
				                <td class="table_header"><?php echo $this->translate("agentFreezeBalanceNow"); ?></td>
				                <td><?php echo $this->agentTotal['freezed_balance']; ?></td>
				            </tr>
				            <tr>
				                <td class="table_header"><?php echo $this->translate("agentUsageBalanceNow"); ?></td>
				                <td><?php echo $this->agentTotal['usage_balance'] ;?></td>
				                <td class="table_header"><?php echo $this->translate("agentDebtBalanceNow"); ?></td>
				                <td><?php echo $this->agentTotal['debt_balance'] ;?></td>
				            </tr>
				        </table>
               </div>
 
      </div>
      <div class='clear'></div>
</div>
<div id="rejectDialog" style="display: none;">
    <form action="<?php echo HttpUtil::baseUrl();?>/trade/withdraw/rejectoffline" method="post" id="denyForm">
         <input type="hidden" name="id" value="<?php echo $this->withdraw['id']; ?>" />
         <table cellspacing="5" cellpadding="0" border="0">
            <tr>
                <td valign="top">
                   <?php echo $this->translate("why"); ?>
                </td>
                <td>
                    <textarea rows="5" cols="25" name="desctiption"></textarea>
                </td>
            </tr>
            <tr align="center">
                <td colspan="2">
                    <input type="button" onclick="javascript:Common.submit();" value="<?php echo $this->translate("confirmBtn"); ?>"/>
                    &nbsp;   
                    <input type="button" onclick='javascript:$("#rejectDialog").dialog("close");' value="<?php echo $this->translate("cancelBtn"); ?>" />                
                </td>          
            </tr>
         </table>
     </form>
</div>
<div class='clear'></div>